From: kaf24@firebug.cl.cam.ac.uk Date: Fri, 21 Apr 2006 08:14:07 +0000 (+0100) Subject: Fix python installation on sles10. Install prefix is being X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16117^2~49 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=f9afb49240ee10fbb7cd50e7eb50ae6c7005c361;p=xen.git Fix python installation on sles10. Install prefix is being passed along for some reason, so we explicitly redefine it to nothing. Signed-off-by: Ryan Grimm --- diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile index 75bf46bc83..fab70ffc30 100644 --- a/tools/pygrub/Makefile +++ b/tools/pygrub/Makefile @@ -11,7 +11,7 @@ build: .PHONY: install ifndef XEN_PYTHON_NATIVE_INSTALL install: all - CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" + CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" else install: all CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" diff --git a/tools/python/Makefile b/tools/python/Makefile index b3e404cb9f..e73d624414 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -11,7 +11,7 @@ build: .PHONY: install ifndef XEN_PYTHON_NATIVE_INSTALL install: all - CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --force + CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --force else install: all CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force